﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo0521
{
    enum Smithyname 
    {
        //修补
        修补,
        //打造
        打造,
        //强化
        强化
    }
    //铁匠
    class Smithy:NPC
    {
        private string weapon;
        private Smithyname smithyname;
        public string Weapon { get { return this.weapon; }set { this.weapon = value; } }
        public Smithyname SmithyName { get { return this.smithyname; }set { this.smithyname = value; } }
        public Smithy(string name,NpcType type,string weapon,Smithyname smithyname):base(name,type)
        {
            this.weapon = weapon;
            this.smithyname =smithyname;
        }

        public override void Chat()
        {
            Console.WriteLine("你要做什么？NPC:{0},你对{1}进行了{2}",base.Name,this.weapon,this.smithyname);
        }
    }
}
